package com.ervanalb.cellradio.shared.communicator;

import java.io.IOException;

import com.ervanalb.cellradio.shared.communicator.packets.Packet;

/**
 * Defines a sink which eats packets, most likely from a Communiator. Generally,
 * implementations of SocketSink prepare and send the packets over a network.
 * 
 * @author eric
 * @see Communicator
 * @see SocketSink
 */
public interface PacketSink {
	public void send(Packet p) throws IOException;
}
